type crypto/tls.alert
48 uses
crypto/tls (current package)
alert.go#L16: return alert(e).String()
alert.go#L19: type alert uint8
alert.go#L28: alertCloseNotify alert = 0
alert.go#L29: alertUnexpectedMessage alert = 10
alert.go#L30: alertBadRecordMAC alert = 20
alert.go#L31: alertDecryptionFailed alert = 21
alert.go#L32: alertRecordOverflow alert = 22
alert.go#L33: alertDecompressionFailure alert = 30
alert.go#L34: alertHandshakeFailure alert = 40
alert.go#L35: alertBadCertificate alert = 42
alert.go#L36: alertUnsupportedCertificate alert = 43
alert.go#L37: alertCertificateRevoked alert = 44
alert.go#L38: alertCertificateExpired alert = 45
alert.go#L39: alertCertificateUnknown alert = 46
alert.go#L40: alertIllegalParameter alert = 47
alert.go#L41: alertUnknownCA alert = 48
alert.go#L42: alertAccessDenied alert = 49
alert.go#L43: alertDecodeError alert = 50
alert.go#L44: alertDecryptError alert = 51
alert.go#L45: alertExportRestriction alert = 60
alert.go#L46: alertProtocolVersion alert = 70
alert.go#L47: alertInsufficientSecurity alert = 71
alert.go#L48: alertInternalError alert = 80
alert.go#L49: alertInappropriateFallback alert = 86
alert.go#L50: alertUserCanceled alert = 90
alert.go#L51: alertNoRenegotiation alert = 100
alert.go#L52: alertMissingExtension alert = 109
alert.go#L53: alertUnsupportedExtension alert = 110
alert.go#L54: alertCertificateUnobtainable alert = 111
alert.go#L55: alertUnrecognizedName alert = 112
alert.go#L56: alertBadCertificateStatusResponse alert = 113
alert.go#L57: alertBadCertificateHashValue alert = 114
alert.go#L58: alertUnknownPSKIdentity alert = 115
alert.go#L59: alertCertificateRequired alert = 116
alert.go#L60: alertNoApplicationProtocol alert = 120
alert.go#L63: var alertText = map[alert]string{
alert.go#L99: func (e alert) String() string {
alert.go#L107: func (e alert) Error() string {
conn.go#L687: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L719: if alert(data[1]) == alertCloseNotify {
conn.go#L723: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L730: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L755: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L832: func (c *Conn) sendAlertLocked(err alert) error {
conn.go#L855: func (c *Conn) sendAlert(err alert) error {
conn.go#L1034: return n, c.sendAlertLocked(err.(alert))
conn.go#L1576: var a alert
quic.go#L308: var a alert
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |